package si.yun.dao;

import org.apache.ibatis.annotations.Param;
import si.yun.entity.SyBeforeUser;
import si.yun.entity.SyClosure;

import java.util.List;

/**
 * @program: SiYunClass
 * @description: 人事功能dao层
 * @author: 崔晓晨
 * @create: 2021-07-28 20:50
 **/
public interface PersonnelDao {
    int selUserToday();
    int selUserYes();
    int selUserMou();
    int selUserNum();
    int selapplyPassNum();
    int selAfterUserNum();
    int selApplyWaitNum();
    int selFeedBackWaitNum();
    int selApplyNum();
    int selApplyPass(@Param("durDate") int durDate);
    int selApplyRejection(@Param("durDate") int durDate);
    String selApplyPosition(@Param("durDate") int durDate);
    int selUserday1();
    int selUserday2();
    int selUserday3();
    int selUserday4();
    int selUserday5();
    int selUserday6();
    int selUserday7();
    List<SyBeforeUser> selUserTable(SyBeforeUser beforeUser);
    int updBeforeStatus(@Param("userId") int userId,@Param("status")int status);
    int addClosure(SyClosure closure);
    SyBeforeUser selUserInfo(@Param("userId") int userId);
    int updSelUser(SyBeforeUser beforeUser);
    List<SyClosure> selClosureUserTable(SyClosure closure);
    int updClosure(SyClosure closure);
    int delBeforeStatus(@Param("id") int id);

}
